package com.woniu.sharepark.leasesystem.lessor.pojo;

import com.woniu.sharepark.common.pojo.UserInfo;
import com.woniu.sharepark.propertysystem.pojo.Community;

import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * 车位实体类
 * @author xin
 * @date 2019/6/1 11:40
 */
@Component
public class CarPark implements Serializable {
    private Integer id;

    private Integer uId;

    private Integer cNumber;

    private String cAddress;

    private Double cPrice;

    private Integer cDurationStart;

    private Integer cDurationEnd;

    private String cStatus;

    private String cState;

    private Date cTime;

    private String cPic;

    private String cInfo;

    private Integer comId;

    private Integer cFlag;

    private UserInfo userInfo;

    private Community community;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getcNumber() {
        return cNumber;
    }

    public void setcNumber(Integer cNumber) {
        this.cNumber = cNumber;
    }

    public String getcAddress() {
        return cAddress;
    }

    public void setcAddress(String cAddress) {
        this.cAddress = cAddress;
    }

    public Double getcPrice() {
        return cPrice;
    }

    public void setcPrice(Double cPrice) {
        this.cPrice = cPrice;
    }

    public Integer getcDurationStart() {
        return cDurationStart;
    }

    public void setcDurationStart(Integer cDurationStart) {
        this.cDurationStart = cDurationStart;
    }

    public Integer getcDurationEnd() {
        return cDurationEnd;
    }

    public void setcDurationEnd(Integer cDurationEnd) {
        this.cDurationEnd = cDurationEnd;
    }

    public String getcStatus() {
        return cStatus;
    }

    public void setcStatus(String cStatus) {
        this.cStatus = cStatus;
    }

    public String getcState() {
        return cState;
    }

    public void setcState(String cState) {
        this.cState = cState;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public String getcPic() {
        return cPic;
    }

    public void setcPic(String cPic) {
        this.cPic = cPic;
    }

    public String getcInfo() {
        return cInfo;
    }

    public void setcInfo(String cInfo) {
        this.cInfo = cInfo;
    }

    public Integer getComId() {
        return comId;
    }

    public void setComId(Integer comId) {
        this.comId = comId;
    }

    public Integer getcFlag() {
        return cFlag;
    }

    public void setcFlag(Integer cFlag) {
        this.cFlag = cFlag;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Community getCommunity() {
        return community;
    }

    public void setCommunity(Community community) {
        this.community = community;
    }

    @Override
    public String toString() {
        return "CarPark{" +
                "id=" + id +
                ", uId=" + uId +
                ", cNumber=" + cNumber +
                ", cAddress='" + cAddress + '\'' +
                ", cPrice=" + cPrice +
                ", cDurationStart=" + cDurationStart +
                ", cDurationEnd=" + cDurationEnd +
                ", cStatus='" + cStatus + '\'' +
                ", cState='" + cState + '\'' +
                ", cTime=" + cTime +
                ", cPic='" + cPic + '\'' +
                ", cInfo='" + cInfo + '\'' +
                ", comId=" + comId +
                ", cFlag=" + cFlag +
                ", userInfo=" + userInfo +
                ", community=" + community +
                '}';
    }
}